package com.example.teachingSystem.service;

import com.example.teachingSystem.pojo.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teachingSystem.pojo.form.BasePageQuery;
import com.example.teachingSystem.pojo.form.admin.AddAdminForm;
import com.example.teachingSystem.pojo.form.admin.UpdateAdminForm;
import com.example.teachingSystem.pojo.vo.AdminInfoVo;
import com.example.teachingSystem.utils.result.PageResult;
import com.example.teachingSystem.utils.result.Result;

/**
* @author 86147
* @description 针对表【admin(管理员表)】的数据库操作Service
* @createDate 2023-11-27 21:43:54
*/
public interface AdminService extends IService<Admin> {
Result<String>addAdminInfo(AddAdminForm addAdminForm);
Result<String>deleteAdminInfo(Long adminId);
Result<AdminInfoVo>getAdminById(Long adminId);
PageResult<AdminInfoVo>getAllAdmin(BasePageQuery basePageQuery);
Result<String>updatedmin(UpdateAdminForm updateAdminForm);
}
